﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E01 RID: 3585
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RelicList : IMessage<RelicList>, IMessage, IEquatable<RelicList>, IDeepCloneable<RelicList>, IBufferMessage
	{
		// Token: 0x17002D8F RID: 11663
		// (get) Token: 0x0600A0FC RID: 41212 RVA: 0x001AEB98 File Offset: 0x001ACD98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RelicList> Parser
		{
			get
			{
				return RelicList._parser;
			}
		}

		// Token: 0x17002D90 RID: 11664
		// (get) Token: 0x0600A0FD RID: 41213 RVA: 0x001AEB9F File Offset: 0x001ACD9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RelicListReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002D91 RID: 11665
		// (get) Token: 0x0600A0FE RID: 41214 RVA: 0x001AEBB1 File Offset: 0x001ACDB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RelicList.Descriptor;
			}
		}

		// Token: 0x0600A0FF RID: 41215 RVA: 0x001AEBB8 File Offset: 0x001ACDB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicList()
		{
		}

		// Token: 0x0600A100 RID: 41216 RVA: 0x001AEBC0 File Offset: 0x001ACDC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicList(RelicList other) : this()
		{
			this.type_ = other.type_;
			this.setId_ = other.setId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A101 RID: 41217 RVA: 0x001AEBF1 File Offset: 0x001ACDF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RelicList Clone()
		{
			return new RelicList(this);
		}

		// Token: 0x17002D92 RID: 11666
		// (get) Token: 0x0600A102 RID: 41218 RVA: 0x001AEBF9 File Offset: 0x001ACDF9
		// (set) Token: 0x0600A103 RID: 41219 RVA: 0x001AEC01 File Offset: 0x001ACE01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Type
		{
			get
			{
				return this.type_;
			}
			set
			{
				this.type_ = value;
			}
		}

		// Token: 0x17002D93 RID: 11667
		// (get) Token: 0x0600A104 RID: 41220 RVA: 0x001AEC0A File Offset: 0x001ACE0A
		// (set) Token: 0x0600A105 RID: 41221 RVA: 0x001AEC12 File Offset: 0x001ACE12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SetId
		{
			get
			{
				return this.setId_;
			}
			set
			{
				this.setId_ = value;
			}
		}

		// Token: 0x0600A106 RID: 41222 RVA: 0x001AEC1B File Offset: 0x001ACE1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RelicList);
		}

		// Token: 0x0600A107 RID: 41223 RVA: 0x001AEC29 File Offset: 0x001ACE29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RelicList other)
		{
			return other != null && (other == this || (this.Type == other.Type && this.SetId == other.SetId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A108 RID: 41224 RVA: 0x001AEC68 File Offset: 0x001ACE68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Type != 0U)
			{
				num ^= this.Type.GetHashCode();
			}
			if (this.SetId != 0U)
			{
				num ^= this.SetId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A109 RID: 41225 RVA: 0x001AECC0 File Offset: 0x001ACEC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A10A RID: 41226 RVA: 0x001AECC8 File Offset: 0x001ACEC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A10B RID: 41227 RVA: 0x001AECD4 File Offset: 0x001ACED4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Type != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Type);
			}
			if (this.SetId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.SetId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A10C RID: 41228 RVA: 0x001AED30 File Offset: 0x001ACF30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Type != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Type);
			}
			if (this.SetId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SetId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A10D RID: 41229 RVA: 0x001AED88 File Offset: 0x001ACF88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RelicList other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Type != 0U)
			{
				this.Type = other.Type;
			}
			if (other.SetId != 0U)
			{
				this.SetId = other.SetId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A10E RID: 41230 RVA: 0x001AEDD8 File Offset: 0x001ACFD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A10F RID: 41231 RVA: 0x001AEDE4 File Offset: 0x001ACFE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.SetId = input.ReadUInt32();
					}
				}
				else
				{
					this.Type = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003E2A RID: 15914
		private static readonly MessageParser<RelicList> _parser = new MessageParser<RelicList>(() => new RelicList());

		// Token: 0x04003E2B RID: 15915
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003E2C RID: 15916
		public const int TypeFieldNumber = 11;

		// Token: 0x04003E2D RID: 15917
		private uint type_;

		// Token: 0x04003E2E RID: 15918
		public const int SetIdFieldNumber = 13;

		// Token: 0x04003E2F RID: 15919
		private uint setId_;
	}
}
